home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
BARNET
/
FREENET
/
BIRKETT
/
SLIPSWIT
/
HiResDoc
< prev
Wrap
Text File
|
1995-09-10
|
2KB
|
45 lines
Rather than send you the patched !Runimage, which I think would probably
break the Licence agreement I'll just give you the simple patch. I know this
works with SLIPDial 0.34 and above, but should work with earlier versions,
though I can't be sure!
1) Load up !SLIPDial.!RunimageS (The uncompressed source) [It's possible to
hack this straight into the crunched !Runimage, but it's hard work!]
You might want to make a backup first, 'cos if you knacker SLIPDial you're
buggered :-)
2) Find the line DEFPROCinitwimp
3) After the line going:
SYS "OS_SpriteOp",&109,sprites%
add the following:
REM *** PATCH BY ANDY WARD 8/9/95 ***
LOCAL sprExt$,n%,v%
sprExt$=""
SYS"Wimp_ReadSysInfo",2 TO n%;v%
IF (NOT(v%AND1)) THEN sprExt$=CHR$(n%?0)+CHR$(n%?1)
4) And change the line going:
IFFNmergesprites(sdres$+".Sprites")=0THENERROR0,"Couldn't load sprites"
to read:
IFFNmergesprites(sdres$+".Sprites"+sprExt$)=0THENERROR0,"Couldn't load sprites"
REM ^^^^^^^^
5) Save it.
6) At this point you can make a copy of this file and run it through a cruncher,
or you can just rename it to be !Runimage, and run it uncrunched. The Wimpslot
should be large enough for this, though it will run marginally quicker if you
do crunch it. I had problems with !BasCrunch throwing up errors here, so I leave
it uncrunched for easy hacking :-)
7) The new hi-res icons take up about 30% more memory than the low-res versions
(resources take up 8K [prevously 5K], DoItAllSpr takes up 4.5K [previouly 3K]),
but as long as you allocate about 20K to SLIPDial's internal sprite pool in the
!Run file (as you do already) you shouldn't have any trouble.